FROM amazoncorretto:11
ENV JAVA_TOOL_OPTIONS -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:8081
COPY target/*.jar /shareit-gateway.jar
EXPOSE 8080
ENTRYPOINT ["java", "-jar", "/shareit-gateway.jar"]
